package com.sec.android.app.myfiles.module.sfinder;

import com.sec.android.app.myfiles.provider.DbTableInfo;

public class SFinderDbTableInfo extends DbTableInfo {

    private static SFinderDbTableInfo mInstance = null;

    public static DbTableInfo getInstance() {
        if (mInstance == null) {
            mInstance = new SFinderDbTableInfo();
        }
        return mInstance;
    }

    private SFinderDbTableInfo() {
        mTableColumn.add(new DB_Column(COLUMN_ID.ID, "_id", "integer PRIMARY KEY"));
        mTableColumn.add(new DB_Column(COLUMN_ID.PATH, "_data", "text"));
        mTableColumn.add(new DB_Column(COLUMN_ID.NAME, "_display_name", "text"));
        mTableColumn.add(new DB_Column(COLUMN_ID.SIZE, "_size", "integer"));
        mTableColumn.add(new DB_Column(COLUMN_ID.DATE, "date_modified", "integer"));
        mTableColumn.add(new DB_Column(COLUMN_ID.FILE_TYPE, "format", "integer"));
        mTableColumn.add(new DB_Column(COLUMN_ID.MIME_TYPE, "mime_type", "text"));
    }

    @Override
    public String getTableName() {
        final String tableName = "search_suggest_regex_query";
        return tableName;
    }

    @Override
    public boolean isRealDb() {
        return false;
    }

}
